package com.csr.csrcheck.mapper;

import com.csr.csrcheck.pojo.Company;
import com.csr.csrcheck.pojo.Special_bulletin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface CompanyMapper {
    List<Company> getCommpanylist();

    List<Company> getCommpanylistbyname(@Param("company_name") String paramString);

    List<Company> getCompanyPage(@Param("company_name") String paramString);

    List<Company> getCommpanylistpage(@Param("company_name") String paramString, @Param("currentPageNo") Integer paramInteger1, @Param("pageSize") Integer paramInteger2);

    List<Special_bulletin> getAll();

    int getCompanyCount(@Param("company_name") String paramString);

    List<Company> getCommpanyByid();

    int addCommpany(Company paramCompany);

    List<Company> list();

    int updateCompany(Company paramCompany);

    Company findcompanyByid(int paramInt);

    int deletecompanyByid(int paramInt);
}
